package chapter10;

import java.util.Scanner;

public class Day07 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个数：");
        int num = input.nextInt();
        int sum=0;
        int c = num;
        for (;num>0;num/=10){
            sum=sum*10+(num%10);
        }
        String a =(sum==c)?("是"):("不是");
        System.out.println(a);
    }
}
